import request from "@/request"
import type { loginForm } from "./type"
export const reqLogin = (user: loginForm): Promise<any> => {
    return request({
        url: "/login",
        method: "POST",
        data: user
    })
}